package com.dengbw.systemtransfer.model.db;


import lombok.*;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class SysLog {

	/**
	 * 主键id
	 */
	@ApiModelProperty(value = "主键id", position = 0)
	@TableId(type = IdType.AUTO)
	private Long id;

	/**
	 * 用户名
	 */
	@ApiModelProperty(value = "用户名", position = 1)
	private String username;

	/**
	 * 用户操作
	 */
	@ApiModelProperty(value = "用户操作", position = 2)
	private String operation;

	/**
	 * 请求方法
	 */
	@ApiModelProperty(value = "请求方法", position = 3)
	private String method;

	/**
	 * 请求参数
	 */
	@ApiModelProperty(value = "请求参数", position = 4)
	private String params;

	/**
	 * IP地址
	 */
	@ApiModelProperty(value = "IP地址", position = 5)
	private String ip;

	/**
	 * 状态#'0':'成功','1':'失败'
	 */
	@ApiModelProperty(value = "状态#'0':'成功','1':'失败'", position = 6)
	private Integer stauts;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注", position = 7)
	private String remark;

	/**
	 * 消息
	 */
	@ApiModelProperty(value = "消息", position = 8)
	private String message;

	/**
	 * 时间
	 */
	@ApiModelProperty(value = "时间", position = 9)
	private java.util.Date createDate;

	/**
	 * 平台#'1':'系统','2':'企业'
	 */
	@ApiModelProperty(value = "平台#'1':'系统','2':'企业'", position = 10)
	private Integer plat;

	/**
	 * 用户id
	 */
	@ApiModelProperty(value = "用户id", position = 11)
	private Long userId;

	/**
	 * 操作类型
	 */
	@ApiModelProperty(value = "操作类型", position = 12)
	private String operationType;

	/**
	 * 平台
	 */
	@ApiModelProperty(value = "平台", position = 13)
	private String platform;

	private String tenantId;

	/**
	 * 村租户标识
	 */
	@ApiModelProperty(value = "村租户标识", position = 15)
	private Long subTenantId;

	/**
	 * 菜单ID
	 */
	@ApiModelProperty(value = "菜单ID", position = 16)
	private Long menuId;


}
